package com.ruoyi.training.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class MyCertificateInfo {
    //证书id
    private String  certificateId;
    //证书状态 0-有效证书,1-过期证书,2-待发证书
    private String certificateStatus;
    //证书类别（特设special、经营性regular）
    private String certificateCategory;
    //证书类型
    private String certificateType;
    //证书项目-经营性用
    private String projectName;
    //证书编号
    private String certificateNo;
    //发证单位-特设用
    private String issuingAuthority;
    //作业种类-特设用
    private String workCategory;
    //作业项目-特设用
    private String workProject;
    //发证时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date digitalIssueTime;
    //有效期起
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date validityStart;
    //有效期止
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date validityEnd;
    //纸质证书 现场-1/快递-2/未申请-值为空
    private String receiveMethod;
    //快递单号
    private String trackingNo;
}
